﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
    <div id="demo1">
    </div>
    <div id="demo2">
    </div>
    <!--组件文件-->
    <link href="style/yChart.css" rel="stylesheet" />
    <script src="script/yChart.js"></script>
    <script>
        //demo1
        var chart1 = new $.YChart({
            dom: '#demo1'
            , width: 300
            , height: 200
            , bg: '#eee'
            , itemColors: ['#666', '#888', '#aaa','#ccc']
        });
        chart1.init();
        //demo2

        var list = [{
            "Value": 20, "SHA1": "2cd9a4fc060ccfd275f01168a85b76a3cd18f84f", "Name": "函数的问题", "QuestionIds": [107, 249
            , 267, 5881], "Children": [{
                "Value": 5, "SHA1": "49d5cf02cacd2f32d3a3b02d5f93fc087eeeb0d4", "Name": "函数值的问题", "QuestionIds"
                : [107], "Children": [{ "Value": 5, "SHA1": "d893351cbb548040ba78f192e869f82f1dbe89f7", "Name": "根据一般函数的解析式和自变量，求函数值", "QuestionIds": [107], "Children": [] }]
            }, {
                "Value": 10, "SHA1": "c135abf50f0e44c03699ea77da4cf302e9f06865"
            , "Name": "指对数的运算问题", "QuestionIds": [107, 249], "Children": [{
                "Value": 5, "SHA1": "9d6406bbea869efc9aa647ced1b5334372b051f0"
            , "Name": "积的对数运算", "QuestionIds": [107], "Children": []
            }, {
                "Value": 10, "SHA1": "db5eab499ebb72cf6e34533cee93cb1fce657b64"
            , "Name": "幂的对数运算", "QuestionIds": [107, 249], "Children": []
            }]
            }, {
                "Value": 5, "SHA1": "6a4852b644c7c8507a3dc007151f0c4c9651e07e"
            , "Name": "函数的单调性问题", "QuestionIds": [249], "Children": [{
                "Value": 5, "SHA1": "76b96ae798be692960efe85b1a3fd9f22f02a657"
            , "Name": "根据函数的类型，判断函数的单调性/单调区间", "QuestionIds": [249], "Children": []
            }]
            }, {
                "Value": 5, "SHA1": "8dc98b7b1c34e1e8d6da9ace48454d0238e631a4"
            , "Name": "比较函数式/值的大小问题", "QuestionIds": [249], "Children": [{
                "Value": 5, "SHA1": "0b47984b963dd81d8dab1a0cdf965614af3560d2"
            , "Name": "利用中间值法，判断函数值的大小关系", "QuestionIds": [249], "Children": []
            }, {
                "Value": 5, "SHA1": "b2d8aa39ed899cd86f3b48f3f46a226748c012ed"
            , "Name": "利用函数的单调性，根据自变量的大小关系判断函数值的大小关系", "QuestionIds": [249], "Children": []
            }]
            }, {
                "Value": 5, "SHA1": "5e0b80ca255c17328fbaadfdf12380b5e2d4513c"
            , "Name": "函数的恒成立问题", "QuestionIds": [267], "Children": [{
                "Value": 5, "SHA1": "9d23012f83c9a9a1adea059c63e3ab49fc0f8286"
            , "Name": "根据恒成立关系，求参数（的取值范围）", "QuestionIds": [267], "Children": []
            }]
            }, {
                "Value": 5, "SHA1": "b41839fa187e5940ab56ebcb52ebc0afee6aebaf"
            , "Name": "函数的图象问题", "QuestionIds": [5881], "Children": [{
                "Value": 5, "SHA1": "6887026bc878aec5ffbe149ef0251ea6ae23d1fc"
            , "Name": "根据函数的类型，判断函数的图象", "QuestionIds": [5881], "Children": []
            }, {
                "Value": 5, "SHA1": "ac5c0f476e3085dd717e30fc44e7e71be50b5010"
            , "Name": "利用函数的奇偶性，判断函数的图象", "QuestionIds": [5881], "Children": []
            }, {
                "Value": 5, "SHA1": "54e761ace5efe939205b346c565317bcaee84891"
            , "Name": "根据分段函数的解析式，判断函数的图象", "QuestionIds": [5881], "Children": []
            }, {
                "Value": 5, "SHA1": "6f7430072e48785aa5d53154c72d3ed64f053974"
            , "Name": "根据函数图象的平移变换，判断函数的图象", "QuestionIds": [5881], "Children": []
            }]
            }]
        }, {
            "Value": 5, "SHA1": "98a35033f2768c5a71e2ba5c5cea94be2a7d01ae"
         , "Name": "导数的问题", "QuestionIds": [267], "Children": [{
             "Value": 5, "SHA1": "1c6779b6a21378753fc0cd48856278a8f8c49cff"
         , "Name": "利用导数研究函数的最值问题", "QuestionIds": [267], "Children": [{
             "Value": 5, "SHA1": "540f94ddf6aa62264ee9625e341e245d058e5d8b"
         , "Name": "根据函数的解析式，利用导数法求函数在特定区间的最值", "QuestionIds": [267], "Children": []
         }]
         }]
        }, {
            "Value": 15, "SHA1": "b7afaada1e3e8dfe25db74c7f82415990aed0491"
         , "Name": "向量的问题", "QuestionIds": [3402, 4636, 4641], "Children": [{
             "Value": 5, "SHA1": "e8ab737383ef68914cca0113b8b4d379da0f5e08"
         , "Name": "利用坐标研究向量的数量积运算问题", "QuestionIds": [3402], "Children": [{
             "Value": 5, "SHA1": "4054dd63e2eca77c1c8092b907402a517257050f"
         , "Name": "根据两个坐标形式的向量的数量积，求参数", "QuestionIds": [3402], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "941fa757f154910de927d4a71a8213cd04881de4"
         , "Name": "向量的概念问题", "QuestionIds": [4636], "Children": []
         }, {
             "Value": 5, "SHA1": "6204fb0c36c10a86d4de4ed42e0c6e381765ca8a"
         , "Name": "利用坐标研究向量模的问题", "QuestionIds": [4636], "Children": [{
             "Value": 5, "SHA1": "5416561277515a16e4604f9c649a26ff5434c00d"
         , "Name": "根据向量的坐标，求向量的模", "QuestionIds": [4636], "Children": []
         }]
         }, {
             "Value": 10, "SHA1": "0a905efbfebf5b7f64ee91d4faa05a75e8aad6ee"
         , "Name": "向量坐标的概念问题", "QuestionIds": [4636, 4641], "Children": [{
             "Value": 5, "SHA1": "9517c53b3b6d94056af2a4a7231260f753eae646"
         , "Name": "求与向量共线（同向、反向）的单位向量的坐标", "QuestionIds": [4636], "Children": []
         }, {
             "Value": 10, "SHA1": "dbe980b719dd48d4ac24dc12ae17ddfa6f341612"
         , "Name": "根据起点坐标和终点坐标，求向量的坐标", "QuestionIds": [4636, 4641], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "2994e6e94037725b843af0f34581d1ac0829ba2d"
         , "Name": "利用坐标研究向量的关系问题", "QuestionIds": [4641], "Children": [{
             "Value": 5, "SHA1": "f2a65ca6257efce85d77463a6c27e532e45eb9fb"
         , "Name": "根据两个垂直向量的坐标，求坐标参数", "QuestionIds": [4641], "Children": []
         }]
         }]
        }, {
            "Value": 15, "SHA1": "cdf0a29c444ca724ffe02728cd2db97ad148ac18"
         , "Name": "集合的问题", "QuestionIds": [3403, 4634, 5873], "Children": [{
             "Value": 15, "SHA1": "30972fcbd3930f855342f987b4ac955f6d491a2b"
         , "Name": "集合的运算问题", "QuestionIds": [3403, 4634, 5873], "Children": [{
             "Value": 10, "SHA1": "eb58189bb4d6909e29442f3b9ad458081393dc5c"
         , "Name": "求集合的交集", "QuestionIds": [3403, 4634], "Children": []
         }, {
             "Value": 10, "SHA1": "c07bd20823a2f452eba690635e82987244e2e0d4"
         , "Name": "求集合的补集", "QuestionIds": [3403, 5873], "Children": []
         }, {
             "Value": 5, "SHA1": "86c5b497afc38bc650d310ba029c818bb8c3aeb3"
         , "Name": "求集合的并集", "QuestionIds": [5873], "Children": []
         }]
         }]
        }, {
            "Value": 15, "SHA1": "c9ac7a44c4d223bde547ef79bae888bfb3d563cf"
         , "Name": "复数的问题", "QuestionIds": [3404, 4635, 5874], "Children": [{
             "Value": 15, "SHA1": "b5fc927c55b4e07265237c2b43fa2dade15c1e19"
         , "Name": "复数的运算问题", "QuestionIds": [3404, 4635, 5874], "Children": [{
             "Value": 15, "SHA1": "5922b0daf9a316b60cde7838150a096a1bede6cf"
         , "Name": "求复数的商", "QuestionIds": [3404, 4635, 5874], "Children": []
         }, {
             "Value": 5, "SHA1": "55e62fdbbd2a95a2dfa4ea9681d1879281ae109c"
         , "Name": "求复数的和", "QuestionIds": [5874], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "f24b4aa33e30b5a38afa78e7b70e06cbcebe2ffc"
         , "Name": "复数模的问题", "QuestionIds": [4635], "Children": [{
             "Value": 5, "SHA1": "e1f28552fa1edb0c5d9b3894755818a8593d6b34"
         , "Name": "利用复数模的公式，求复数的模", "QuestionIds": [4635], "Children": []
         }]
         }]
        }, {
            "Value": 15, "SHA1": "d6f73f61e55816070cc2ed01f09ca340a9bdf049"
         , "Name": "三角函数的问题", "QuestionIds": [3407, 4639, 5882], "Children": [{
             "Value": 10, "SHA1": "d0cea51ef983c3fd57b73223a6aab48d8dd2e53b"
         , "Name": "三角恒等变换的问题", "QuestionIds": [3407, 4639], "Children": [{
             "Value": 5, "SHA1": "c12fe347fdae9b5b670b542fe6a758166bf0c343"
         , "Name": "利用同角三角函数的基本关系，进行同角正余弦的转化", "QuestionIds": [3407], "Children": []
         }, {
             "Value": 5, "SHA1": "d2c0e8c5297886766aef1c46cf7621ad9fbd6a1e"
         , "Name": "利用倍角公式，进行单角到倍角的转化", "QuestionIds": [3407], "Children": []
         }, {
             "Value": 5, "SHA1": "917d12b42acf5acd3aff7965fd3678842173eeac"
         , "Name": "利用和差角公式，进行单角到复角的转化", "QuestionIds": [4639], "Children": []
         }, {
             "Value": 5, "SHA1": "4d309a7f5b3cce40d99884acb28eca2fdf5bf82f"
         , "Name": "利用三角形的内角和与诱导公式，进行三角恒等变换", "QuestionIds": [4639], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "a2af5f8eac193af1e0dc9cc4700a9e429c54ab1a"
         , "Name": "三角函数角的问题", "QuestionIds": [4639], "Children": [{
             "Value": 5, "SHA1": "e8cb536cdeba0e57ef689d6defd8a331d2dc41aa"
         , "Name": "根据角的范围，求三角函数值的范围", "QuestionIds": [4639], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "977ce6b11de1eae471e248bb489363450d120fcd"
         , "Name": "解三角形的问题", "QuestionIds": [4639], "Children": [{
             "Value": 5, "SHA1": "dfd286f7384668e56ade70eaf6658257f643b681"
         , "Name": "根据三角形中三边/三角的比例关系，写出三角/三边的比例关系", "QuestionIds": [4639], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "fa8151640a196157d5f25ff092daed45a136ff53"
         , "Name": "函数的单调性问题", "QuestionIds": [5882], "Children": [{
             "Value": 5, "SHA1": "d7fb8f601d75e19131567401e9b4155267213d1c"
         , "Name": "根据函数的类型，判断函数的单调性/单调区间", "QuestionIds": [5882], "Children": []
         }]
         }, {
             "Value": 5, "SHA1": "a27845c53823ae0c07c178f267971fd7d34bc568"
         , "Name": "函数的解析式问题", "QuestionIds": [5882], "Children": [{
             "Value": 5, "SHA1": "c44728f5d59f1644c7c032d70d1a653697aee16b"
         , "Name": "写出一个函数图象经过平移变化后所得图象的解析式", "QuestionIds": [5882], "Children": []
         }]
         }]
        }, {
            "Value": 20, "SHA1": "2043dc3560c33e17f4dfee9c854ee2505b902d38"
         , "Name": "不等式的问题", "QuestionIds": [3410, 4634, 5881, 5884], "Children": [{
             "Value": 10, "SHA1": "2b8d2e528b88422c0069127db471f5af24213a57"
         , "Name": "目标函数在可行域中的问题", "QuestionIds": [3410, 5884], "Children": [{
             "Value": 10, "SHA1": "9db9522287bd4db373f89eb0a3cbec41719a5b4e"
         , "Name": "求目标函数在可行域中的最值/最优解", "QuestionIds": [3410, 5884], "Children": []
         }]
         }, {
             "Value": 10, "SHA1": "d6aca871b469fef695b83e9ce1ede55e235c876a"
         , "Name": "不等式的求解问题", "QuestionIds": [4634, 5881], "Children": [{
             "Value": 5, "SHA1": "c84a2c525f0e5675a595e5fbff2622acefa98b93"
         , "Name": "求不等式（组）的解集", "QuestionIds": [4634], "Children": []
         }, {
             "Value": 5, "SHA1": "ec7b76c587a8355580e749c243c16b8ad222c8a5"
         , "Name": "根据图象，写出不等式的解集", "QuestionIds": [5881], "Children": []
         }]
         }]
        }, {
            "Value": 15, "SHA1": "3c69caed3c48045b1806f21d7c96cd1490ef7102"
         , "Name": "算法的问题", "QuestionIds": [3411, 4640, 5883], "Children": [{
             "Value": 15, "SHA1": "dadddf5aa56c0464b507b9a594c3bdb0c88670c2"
         , "Name": "程序框图的问题", "QuestionIds": [3411, 4640, 5883], "Children": [{
             "Value": 15, "SHA1": "6f3ce947c12fe6194ff54c46891f71d496ecac66"
         , "Name": "根据程序框图与输入值，求输出结果", "QuestionIds": [3411, 4640, 5883], "Children": []
         }]
         }]
        }];
        var chart2 = new $.YChart({
            dom: '#demo2'
           , width: 800
           , height: 300
           , data:list
        });
        chart2.init();
    </script>
</body>
</html>
